package com.gs.mybatisflextest.model;


import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@Table("TB_BOOK")

public class TbBook {


    @Id(keyType = KeyType.Generator,value= KeyGenerators.uuid)
    private String tbbId;
    private String tbbName;

    private String userId;
}
